package com.caowei.weicimpress.weicimpress;

import android.support.v4.app.Fragment;

/**
 * Created by caoweiPc on 2014/7/23.
 */
public abstract class BaseFragment extends Fragment {

    public abstract void refresh();

    public static interface OnSwitchFragment{
        public void switchFragment(Class<? extends BaseFragment> fragmentCls,Callback callback);
    }

    public interface Callback{
        public void onCallback(Callback1 callback);
    }
    public interface Callback1{
        public void onCallback(Object ... objects);
    }

    public interface GetFragment{
        public BaseFragment get(int index);
    }
}
